package com.cwz.service;

import com.cwz.entity.Material;
import com.cwz.entity.MaterialInventoryRecord;
import com.cwz.param.MaterialHttpQueryParam;
import com.cwz.param.MaterialInventoryRecordHttpQueryParam;
import com.cwz.param.MaterialInventoryStatisticsParam;
import com.cwz.vo.MaterialInventoryStatisticsVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;
import java.util.Map;


/**
 * @author wenZhen
 * @create 2024-08-17 8:48
 */
public interface MaterialService extends IService{

   Map<String, Object> save (Material material, HttpSession session);

   Map<String, Object> batchSave(MultipartFile file, HttpSession session);

   Map<String, Object> page (MaterialHttpQueryParam param, HttpSession session);

   Map<String, Object> update(Material material, HttpSession session);

   Map<String, Object> disable(Material material, HttpSession session);

   Map<String, Object> detail(Integer id, HttpSession session);

   Map<String, Object> inventory(MaterialInventoryRecord record, HttpSession session);

   Map<String, Object> inventoryPage(MaterialInventoryRecordHttpQueryParam param, HttpSession session);

   Map<String,Object> statistic(MaterialInventoryStatisticsParam param,HttpSession session);

}
